package blf.librarysystem.Service;

import blf.librarysystem.Pojo.Book;
import blf.librarysystem.Utils.Result;
import org.springframework.web.bind.annotation.RequestParam;

import java.sql.Timestamp;
import java.util.Date;
import java.util.Map;

public interface BookService {

    Result<Book> findBookList(int start, int limit);

    Result<Book> borrowBook(int bookId, int borrowId);

    Result<Book> returnBook(int id);

    public Result<Book> listByKeys(String readerName, String bookName, String borrowStatus, int start, int limit);
}
